home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
gt_power
/
bguti23.zip
/
RELAY1.SCR
< prev
next >
Wrap
Text File
|
1990-03-25
|
2KB
|
103 lines
; << Jim Kreyling >>
;++++++++++++++++++++++++++++++++++++++
; PC RelayNet (Automatic) / Time Limits
;++++++++++++++++++++++++++++++++++++++
; v1 = total call attempts (numeric)
; v2 =
; v3 = current time (numeric)
; v4 = test variable to be sure this is first connetion
; v5 = connect time (numeric)
; v6 =
; v7 =
; v8 = total call attempts (string)
; v9 = connect time (string)
;
Log "RelayNet Mail Script - Starting"
Cursor OFF
V1 = 0
V4 = "NO"
;
Clear
MKwin 1 1 33 3 "PC RelayNet Node ID"
GotoXY 1 1
SetColor 12 0
Write "Connecting With ]---> HNIS"
;
Quiet ON
;
:GoAgain
;
;Used to correct error with script lang if time is after 9:59:59
;V3 Pad %Time -8 "0"
V3 = %Time
;
;adds a double check to be sure !
Case %4 OF
= "YES"
Log "Possible Error Has Occurred"
Log "RelayNet Mail Script - Ending - Second Time Called"
Exit
= "NO"
MKwin 13 9 69 20 "Call In-Progress"
Name "HollyWood News and Info"
V1 Add %1 1
V8 Str %1
GotoXY 1 1
Write "Attempting Call Number ---> " %8
WriteLn
WriteLn
Dial "1-301-373-3530"
End
Esac
;
;Check to be sure CONNECT is Good - Then Go !
Case %DCD OF
TRUE
RMwin
RMwin
Log "Connected with Relay Hub - Total Calls To Connect = " %8
V3 = %Time
V4 = YES
Wait For "(Enter)=no?"
SendLn "N"
Wait For "first name?"
SendLn "Jim Kreyling ClubPC"
Wait For "(Enter)=yes?"
SendLn "N"
Wait For "Command?"
SendLn "Open 7"
Shell "C:\prot\DSZ port %Com speed %Baud ha bo sz C:\adn\ClubPC.rly"
Wait 200 For "000"
Shell "C:\prot\DSZ port %Com speed %Baud ha bo rz C:\adn\in.rly"
SendLn "G"
V5 Tdiff %Time %3
V9 Str %5
Log "RelayNet Mail Script - Ending - Normal Abort"
Log "Dis-Connect from Relay Hub - Connect Time =" %9 "Minutes"
Exit
FALSE
V4 = "NO"
RMwin
MKwin 20 11 62 16 "Call Report"
Case %Busy OF
TRUE
GotoXY 17 2
SetColor 14 6
Write "- BUSY! -"
?
GotoXY 15 2
SetColor 14 6
Write "- NO Answer -"
Esac
Esac
;
GotoXY 2 4
SetColor 11 0
Write "Waiting 5 Seconds Then Recycling Script"
;
Twait 4000
;
RMwin
;
Goto GoAgain